package com.itkjb.leisurely.center.common;

import com.itkjb.leisurely.core.base.BaseConstants;

/**
 * Copyright (C), 2018-2020
 *
 * @Author: lix
 * @Date: 2020-07-24 14:09
 * @Description:
 * @Version: V1.0.0
 */
public class CenterConstants implements BaseConstants {

    /**
     * 登录类型类型
     */
    public enum LoginType {
        /**
         * 默认：用户名密码登陆
         */
        username(1,"用户名密码登陆"),
        /**
         * 菜单
         */
        mobile(2,"手机号登陆"),
        /**
         * 按钮
         */
        email(4,"邮箱登陆"),
        /**
         * id 查找登陆
         */
        id(8,"ID号查找");
        ;
        private int label;
        private String msg;

        LoginType(int label, String msg) {
            this.label = label;
            this.msg = msg;
        }

        public int getLabel() {
            return label;
        }

        public void setLabel(int label) {
            this.label = label;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }

}
